﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VCC.Site.ViewModels.BoxAdManyViewModel>" %>
<%@ Import Namespace="VCC.Lib.Helpers" %>
<%@ Import Namespace="VCC.Lib.Common"%>
<div class="container-common">
<div id="ctl36_HeaderContainer" class="box-header">
    <div align="center" class="name_tit">
        <h3 style="color: White;">
            <%=Html.Encode(Model.TitleBox)%></h3>
    </div>
</div>
<div id="ctl36_BodyContainer" class="bor_box">
    <div class="list">
        <ul>
        <%foreach (var item in Model.Ads)
          { %>
                <li>
                    <a class="controls-view-date-contents-link" title="<%=item.Title %>" href="<%= LinkUtils.UrlAdDetails(item.Title,item.ID)%>"><%= Html.Encode(item.Title.Length > 52 ? TextHelper.CutString(item.Title, 52) + ".." : TextHelper.ToUpperFistletter(item.Title))%></a>
                </li>
            <%}%>    
        </ul>
    </div>
</div>
<div id="ctl36_FooterContainer"></div>
</div>
